package com.itheima.a01interfacedemo1;

public class Test {
    public static void main(String[] args) {
        Dog d = new Dog();
        d.eat();
        d.swim();

        Rabbit r = new Rabbit();
        r.eat();

    }
}
